package com.spring.core.annotation;

import java.lang.annotation.*;

/**
 * 依赖注入类
 *
 * @author Zee
 * @version 1.0
 * @date 2021/10/9
 */
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {
    boolean required() default true;

    String value() default "";
}
